package com.manager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.easyCode.feature.mybaits.CustomPage;
import com.manager.entity.dao.Manager;
import com.manager.entity.dto.ManagerDto;
import com.manager.entity.dto.SdkManagerInfoDto;
import com.manager.entity.vo.ManagerVo;

import java.util.List;


public interface IManagerService extends IService<Manager> {
    Integer saveManager(ManagerVo managerVo);
    ManagerDto getManagerById(Integer id);
    List<ManagerDto> listManager(String queryExample, CustomPage customPage);
    void delManagerById(Integer id);
    ManagerDto getManagerByName(String name);
    Boolean changeManagerCampus(Integer campusId,Integer managerId);
    SdkManagerInfoDto loadByName(String userRealName);
    boolean enableOrDisableManager(Integer managerId, Integer enable);

    ManagerDto getSelf();
}
